﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Hsp.Auto.Model.Models
{
    /// <summary>
    /// 表被引用数据实体
    /// </summary>
    public class DbReferences
    {
        /// <summary>
        /// 字段编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 字段名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 表名称
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 约束名称
        /// </summary>
        public string ConstraintName { get; set; }

        /// <summary>
        /// 被引用外键的表名称
        /// </summary>
        public string PrimarykeyTableName { get; set; }

        /// <summary>
        /// 被引用外键的列名称
        /// </summary>
        public string PrimarykeyColumnName { get; set; }
    }
}
